﻿using Microsoft.Xaml.Behaviors;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Controls;
using System.Windows.Media;

namespace BehaviorsAndTriggers.Behaviors
{
    public class BordFillRedBehavior : Behavior<Border>
    {
        protected override void OnAttached()
        {
            AssociatedObject.Background = Brushes.Red;
        }

        protected override void OnDetaching()
        {

        }
    }
}
